Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |entry

std/data/map::|entry


Usage

|entry<T>(key, value)

Generics

◻ T (any)

Parameters

↳ key: string
↳ value: T

Return

Map


Build a single-entry Map mapping key to value.

Typically used as an argument to |map([...]) to construct multi-entry maps.